package com.mall.admin.service;

import com.mall.commons.utils.R;
import com.mall.domain.UmsMemberLevel;
import com.mall.interface1.api.UmsMemberLevelApi;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UmsMemberService {
    @DubboReference
    private UmsMemberLevelApi umsMemberLevelApi;
    public R listAll(Integer defaultStatus) {
      List<UmsMemberLevel> list=umsMemberLevelApi.listAll(defaultStatus);
      return R.success("",list);
    }
}
